package com.gxa.zhonglong.service;

import com.gxa.zhonglong.exception.BusinessException;
import com.gxa.zhonglong.pojo.StoreBarter;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author wanjun
 * @version 1.0
 * @date 2021/10/30 12:54
 */
public interface StoreReturnService {
    List<String> getClassLibName(String HeadName) throws BusinessException;
    List<String> getAllHead();
    void add(StoreBarter storeBarter,String storeBarterNum, List<String> goodsCoding);
    public  List<StoreBarter> selectAll(Integer offset, Integer size);
    public  List<StoreBarter> selectAll2();
    public List<StoreBarter> selectByField(Timestamp from, Timestamp to, String storeBarterGclass,
                                           String storeBarterNews, String storeBarterNewc, String storeBarterOlds,
                                           String storeBarterOldc, String storeBarterCusername, Integer offset, Integer size);

    public List<StoreBarter> selectByField2(Timestamp from, Timestamp to, String storeBarterGclass,
                                            String storeBarterNews, String storeBarterNewc, String storeBarterOlds,
                                            String storeBarterOldc, String storeBarterCusername);
}
